package ec.app.robocup;

import ec.EvolutionState;
import ec.vector.GeneVectorIndividual;
import ec.vector.GeneVectorSpecies;

public class ArrayOfParametersForOurDiscretizationFramework extends GeneVectorIndividual{
 
	
	/** Destructively mutates the individual in some default manner.  The default form
    simply randomizes genes to a uniform distribution from the min and max of the gene values. */
public void defaultMutate(EvolutionState state, int thread)
    {
    GeneVectorSpecies s = (GeneVectorSpecies) species;
    if (s.mutationProbability>0.0)
        for(int x=0;x<genome.length;x++)
            if (state.random[thread].nextBoolean(s.mutationProbability))
                genome[x].mutate(state,thread);
    }
	
}

/*
so I would suggest implementing a simple subclass called "ArrayOfParametersForOurDiscretizationFramework"


and mutates by changing the parameter values or adding a value, and keeps them sorted
and between the boundaries that we want
*/